const Mock = require("mockjs");
// const axios=require("axios");
const data = Mock.mock({
    "list|2": [{
        img: "@image(100X100,@color)",
        name: "name",
        title: "@ctitle(20)",
        "num|0-2000": 0,
        "num1|100-1000": 0
    }]
})
module.exports = {
    devServer: {
        before(app) {
            app.get("/move", (req, res) => 
            { 
                res.send(data.list);
            })
        }
    }
}